/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  filterReqRespRulesConfig
    /// </summary>
    public class FilterReqRespRulesConfig
    {

        ///<summary>
        /// id为0时为新增，否则为更新
        ///</summary>
        public int? Id{ get; set; }
        ///<summary>
        /// 规则名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 操作对象，[&quot;req&quot;/&quot;resp&quot;]
        ///</summary>
        public string OpObject{ get; set; }
        ///<summary>
        /// 匹配类型，[&quot;cookie&quot;/&quot;header&quot;]
        ///</summary>
        public string MatchType{ get; set; }
        ///<summary>
        /// 匹配模式，[&quot;del&quot;/&quot;set&quot;]
        ///</summary>
        public string MatchOp{ get; set; }
        ///<summary>
        /// filter key
        ///</summary>
        public string Key{ get; set; }
        ///<summary>
        /// 匹配值，当匹配模式为&quot;del&quot;时val应为空
        ///</summary>
        public string Val{ get; set; }
        ///<summary>
        /// 匹配值类型，&quot;str&quot;(字符型)，&quot;php&quot;(脚本类型)
        ///</summary>
        public string ValType{ get; set; }
        ///<summary>
        /// 更新时间，s
        ///</summary>
        public int? UpdateTime{ get; set; }
        ///<summary>
        /// 0-使用中 1-禁用
        ///</summary>
        public int? Disable{ get; set; }
        ///<summary>
        /// 0-用户添加 1-运营后台强制添加
        ///</summary>
        public int? IsForceApply{ get; set; }
    }
}
